package com.code.day03.abstractx;
import com.code.day03.abstractx.*;
public class Dog extends Animal{

    public Dog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        String name = this.getName();
        System.out.println(name + "eat meat");
    }

}
